// Douglas Kirby

#ifndef FOOD_H
#define FOOD_H

#include <QDialog>
#include <QLabel>
#include <QLineEdit>
#include <QTextBrowser>
#include <QProgressBar>

class Food : public QDialog
{
    Q_OBJECT
public:
    Food();
private:
    void OverallUpdate();
    //void Beep(const QString&);
    QLineEdit* TastePtr;
    QLineEdit* PresentationPtr;
    QLineEdit* AtmospherePtr;
    QLineEdit* ServicePtr;
    QLineEdit* CostPtr;
    QLineEdit* OverallPtr;
    QTextBrowser* InstructionPtr;
    QPushButton* QuitButtonPtr;
    QPushButton* ClearButtonPtr;
    QProgressBar* TasteProgressPtr;
    QProgressBar* PresentationProgressPtr;
    QProgressBar* AtmosphereProgressPtr;
    QProgressBar* ServiceProgressPtr;
    QProgressBar* CostProgressPtr;

private slots:
    void TasteChanged(const QString&);
    void PresentationChanged(const QString&);
    void AtmosphereChanged(const QString&);
    void ServiceChanged(const QString&);
    void CostChanged(const QString&);
    void ClearText();
};

#endif // FOOD_H
